forum

home / developersection / forums / how to make response.write display special character like “<”,“>”

How to make Response.Write Display special character like “<”,“>”

Jayden Bell 2910 28-Nov-2014

I want to use Response.Write to display some text on the screen using ASP.NET I created a variable 

String s = "There is some <hidden text> which is not visible";

Response.Write(s);

What I found is when the browser only display "There is some which is not visible" any text written in between symbols '<'......'>' is neglected by the browser. 

How can I display entire text?

Please advice.


Updated on 29-Nov-2014
Jayden Bell

Other


Message
Can you answer this question?

Answer

1 Answers

Liked By